*This is analysis for A Goldsmith Power Grabs from the Top: A Database of Self-Coups


use "C:\Users\arthu\Desktop\Self-coups_ISQ.dta"

*Model 1 likelihood of a competitive election after a self-coup 1960-1990

use if cold_war == 1 in 1/641 using "C:\Users\arthu\Downloads\Self-coups_ISQ.dta"

probit comp_election aid_lag  yrs_since_sc democracy gdp_pc_log_lag growth_lag ex_french_col military_perp, vce(robust)

*Model 2 likelihood of a competitive election after a self-coup 1991-2020

use if cold_war == 0 in 1/641 using "C:\Users\arthu\Downloads\Self-coups_ISQ.dta"

probit comp_election aid_lag  yrs_since_sc democracy gdp_pc_log_lag growth_lag ex_french_col military_perp, vce(robust)

*Model 3 likelihood of a competitive election after a self-coup 1960-2020


use "C:\Users\arthu\Downloads\Self-coups_ISQ.dta"

probit comp_election aid_lag  yrs_since_sc democracy gdp_pc_log_lag growth_lag ex_french_col military_perp post_cold post_cold_x_aid  postcoldxdem, vce(robust)